package his.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

@Data
@TableName("medicalRecord")
@Repository
public class MedicalRecord {
    @TableId(value="ID",type = IdType.AUTO)
    private int ID;
    @TableField(value = "CaseNumber")
    private String CaseNumber;//病历号
    @TableField(value = "RegistID")
    private int RegistID;//挂号ID
    @TableField(value = "Readme")
    private String Readme;//主诉
    @TableField(value = "Present")
    private String Present;//现病史
    @TableField(value = "PresentTreat")
    private String PresentTreat;//现病治疗情况
    @TableField(value = "History")
    private String History;//既往史
    @TableField(value = "Allergy")
    private String Allergy;//过敏史
    @TableField(value = "Physique")
    private String Physique;//体格检查
    @TableField(value = "Proposal")
    private String Proposal;//检查建议
    @TableField(value = "Careful")
    private String Careful;//注意事项
    @TableField(value = "CheckResult")
    private String CheckResult;//检查结果
    @TableField(value = "Diagnosis")
    private String Diagnosis;//诊断结果
    @TableField(value = "Handling")
    private String Handling;//处理意见
    @TableField(value = "CaseState")
    private int CaseState;//病历状态
}
